﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Automted_Bank_teller;
using NUnit.Framework;

namespace Project_Tester
{
    [TestFixture]
    class withdrawalsTester
    {

        [Test]
        public void WithdrawlsMoney_input_ByClient()
        {
            Withdrawls_Logic withdrawals = new Withdrawls_Logic();

            float Money_To_Be_Widthdrawls = 50F;
            bool expected = true;
            bool actual;

            actual = withdrawals.WithdrawlsMoney_input_ByClient(Money_To_Be_Widthdrawls);
            Assert.AreEqual(expected, actual, "errorGettingParameter");
        }

        
        
         //Test for second Function////////////
        [Test]
        public void MoneyAfterWirhdrawals()
        {
             Withdrawls_Logic withdrawals_2 = new Withdrawls_Logic();

            bool expect = true;
            bool actual;
            actual = withdrawals_2.MoneyAfterWirhdrawals();
            Assert.AreEqual(expect, actual, "error in calculate the new client balnace");
        }
    }
}
